package com.t235.gc.mapper;

import com.t235.gc.devicevo.AddDeviceVo;
import com.t235.gc.devicevo.IndexHeadVo;
import com.t235.gc.entity.Device;
import com.t235.gc.devicevo.DeviceVo;

import java.util.List;

public interface DeviceMapper {
    int deleteByPrimaryKey(Long deviceid);

    int insert(Device record);

    int insertSelective(Device record);

    Device selectByPrimaryKey(Long deviceid);

    int updateByPrimaryKeySelective(Device record);

    int updateByPrimaryKey(Device record);

    List<DeviceVo> findByAll(DeviceVo record);

    IndexHeadVo findIndexHeadNumber();

    int updateDeviceVersion(Device device);

    List<AddDeviceVo> selectByDeviceId(String deviceId);
}